<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- Copyright Microsoft Corporation. All Rights Reserved, 2002 -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>11_3_1-BF-02</title>
</head>
<body>
<div class="TestPurpose">Verify the functionality of the border attribute for TABLE.</div>
<div class="AssertionsTested">Test for assertion 11.3.1-3</div>
<div class='FilesTested'>File: 11_3_1-BF-02.html</div>
<pre style='border: 1px solid black; padding: 5px'>
<strong>Source</strong>
&lt;p&gt;In the following table, the border attribute for TABLE is not set. Therefore, the table shall have no border because the default value is 0.&lt;/p&gt;
&lt;table summary='summary'&gt;
&lt;tr&gt;&lt;th&gt;Table Head 1&lt;/th&gt;&lt;th&gt;Table Head 2&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Table Data 1&lt;/td&gt;&lt;td&gt;Table Data 2&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;

&lt;p&gt;In the following table, the border attribute for TABLE is set to 0. Therefore, the table shall have no border.&lt;/p&gt;
&lt;table summary='summary' border=&quot;0&quot;&gt;
&lt;tr&gt;&lt;th&gt;Table Head 1&lt;/th&gt;&lt;th&gt;Table Head 2&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Table Data 1&lt;/td&gt;&lt;td&gt;Table Data 2&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;

&lt;p&gt;In the following table, the border attribute for TABLE is set to 1. Therefore, the table shall have a border with a width of 1 pixel.&lt;/p&gt;
&lt;table summary='summary' border=&quot;1&quot;&gt;
&lt;tr&gt;&lt;th&gt;Table Head 1&lt;/th&gt;&lt;th&gt;Table Head 2&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Table Data 1&lt;/td&gt;&lt;td&gt;Table Data 2&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;

&lt;p&gt;In the following table, the border attribute for TABLE is set to 2. Therefore, the table shall have a border with width of 2 pixels.&lt;/p&gt;
&lt;table summary='summary' border=&quot;2&quot;&gt;
&lt;tr&gt;&lt;th&gt;Table Head 1&lt;/th&gt;&lt;th&gt;Table Head 2&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Table Data 1&lt;/td&gt;&lt;td&gt;Table Data 2&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;


&lt;p&gt;In the following table, the border attribute for TABLE is set to 10. Therefore, the table shall have a border with width of 10 pixels.&lt;/p&gt;
&lt;table summary='summary' border=&quot;10&quot;&gt;
&lt;tr&gt;&lt;th&gt;Table Head 1&lt;/th&gt;&lt;th&gt;Table Head 2&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Table Data 1&lt;/td&gt;&lt;td&gt;Table Data 2&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
</pre>
<p>In the following table, the border attribute for TABLE is not set. Therefore, the table shall have no border because the default value is 0.</p>
<table summary='summary'>
<tr><th>Table Head 1</th><th>Table Head 2</th></tr>
<tr><td>Table Data 1</td><td>Table Data 2</td></tr>
</table>

<p>In the following table, the border attribute for TABLE is set to 0. Therefore, the table shall have no border.</p>
<table summary='summary' border="0">
<tr><th>Table Head 1</th><th>Table Head 2</th></tr>
<tr><td>Table Data 1</td><td>Table Data 2</td></tr>
</table>

<p>In the following table, the border attribute for TABLE is set to 1. Therefore, the table shall have a border with a width of 1 pixel.</p>
<table summary='summary' border="1">
<tr><th>Table Head 1</th><th>Table Head 2</th></tr>
<tr><td>Table Data 1</td><td>Table Data 2</td></tr>
</table>

<p>In the following table, the border attribute for TABLE is set to 2. Therefore, the table shall have a border with width of 2 pixels.</p>
<table summary='summary' border="2">
<tr><th>Table Head 1</th><th>Table Head 2</th></tr>
<tr><td>Table Data 1</td><td>Table Data 2</td></tr>
</table>


<p>In the following table, the border attribute for TABLE is set to 10. Therefore, the table shall have a border with width of 10 pixels.</p>
<table summary='summary' border="10">
<tr><th>Table Head 1</th><th>Table Head 2</th></tr>
<tr><td>Table Data 1</td><td>Table Data 2</td></tr>
</table>

</body>
</html>
